package com.hyt.it.ogt.ykcj.domain.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hyt.core.constant.CommonConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 发布考试证书信息表
 * </p>
 *
 * @author yanghuankun@talkweb.com.cn
 * @since 2023-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ExamPublishCertificateInfo对象", description = "发布考试证书信息表")
@TableName("exam_publish_certificate_info")
public class ExamPublishCertificateInfo implements Serializable {

    @ApiModelProperty(value = "序号id")
    @TableId(type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "考试ID")
    private String examInfoId;

    @ApiModelProperty(value = "发布考试成绩信息Id")
    private String examPublishId;

    @ApiModelProperty(value = "证书ID")
    private String zsInfoId;

    @ApiModelProperty(value = "显示证书名称")
    private Integer showCertificate = CommonConstant.ZERO;

    @ApiModelProperty(value = "显示证书专业")
    private Integer showSpeciality = CommonConstant.ZERO;

    @ApiModelProperty(value = "显示证书级别")
    private Integer showLevel = CommonConstant.ZERO;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

}
